begintownscript;

variables;

int i,j,k,choice,pc;

body;

beginstate INIT_STATE;

set_character_pose(6, 14);
force_instant_terrain_redraw();

if (get_flag(5, 0) == 0)
{
	pc = random_party_member();

	pause(10);

	set_flag(5, 0, 1);

	reset_dialog();
	add_dialog_str(0, "Blood sprays over the podium as the shorn one coughs.", 0);
	add_dialog_str(1, "Now that you see him in normal light, you see him as he really is.", 0);
	add_dialog_str(2, "You've seen him many times before, for he is Vertas, the second Grand Senator.", 0);
	add_dialog_str(3, "As he breaths his last, you consider just how sad it is than one so great could fall so far.", 0);
	add_dialog_choice(0, "OK");
	run_dialog(1);

	pause(10);

	reset_dialog();
	add_dialog_str(0, "But of course, it shows that you are right, that magicks corrupt even the best.", 0);
	add_dialog_str(1, "If they can be corrupted, who can you trust?", 0);
	add_dialog_choice(0, "OK");
	run_dialog(1);

	erase_char(6);
	put_stain_on_space(24, 23, 2);
	force_instant_terrain_redraw();

	reset_dialog();
	add_dialog_str(0, "It's probably time to get out of here.", 0);
	add_dialog_choice(0, "OK");
	run_dialog(1);
}

break;

beginstate EXIT_STATE;
// Always called when the town is left.
	reset_dialog();
	add_dialog_str(0, "You stride out of the temple into the empty village.", 0);
	add_dialog_str(1, "It's not long before your forces finally arrive. They bring a fascinating new invention from the Republic, a liquid that burns like a fire bomb.", 0);
	add_dialog_str(2, "Under your orders, they coat the surrounding jungles with the liquid.", 0);
	add_dialog_str(3, "As you step back onto the boat that will take you home, you light a match and throw it towards the jungle.", 0);
	add_dialog_choice(0, "OK");
	run_dialog(1);

	reset_dialog();
	add_dialog_str(0, "The rainforest smoulders behind you.", 0);
	add_dialog_str(1, "Ahead, lies the Republic. You now realise what must be done.", 0);
	add_dialog_str(2, "With your obsidite skull, you will be able to hunt mages down with impunity.", 0);
	add_dialog_str(3, "Those who practice magicks must be stopped at all costs if the greatest can be corrupted that easily.", 0);
	add_dialog_choice(0, "OK");
	run_dialog(1);


	large_draw_pic_dialog(527, "Even if you have to burn down the Republic to destroy them.");

	end_scenario(1);

break;

beginstate START_STATE;
// This state is called every turn the party is in this town.

break;
